package com.ygg.cps.afx.jdbc ;

import com.ygg.cps.afx.constant.CommonEnum;


/**
 * 查询参数
 * 
 * @author lihc
 *
 */
public class QueryParam
{
    private CommonEnum.FILL_PSTMT_TYPE type;
    
    private Object value;
    
    public QueryParam(CommonEnum.FILL_PSTMT_TYPE type, Object value)
    {
        this.type = type;
        this.value = value;
    }
    
    public CommonEnum.FILL_PSTMT_TYPE getType()
    {
        return type;
    }
    
    public void setType(CommonEnum.FILL_PSTMT_TYPE type)
    {
        this.type = type;
    }
    
    public Object getValue()
    {
        return value;
    }
    
    public void setValue(Object value)
    {
        this.value = value;
    }
    
    @Override
    public String toString()
    {
        return "QueryParam [value=" + value + "]";
    }
}
